﻿using System.Collections.Generic;
using System.Reflection;

namespace Pro.Common.IoC
{
    public class AssemblySource : IAssemblySource
    {
        private readonly IEnumerable<Assembly> _assemblies;

        public AssemblySource(IEnumerable<Assembly> assemblies)
        {
            _assemblies = assemblies;
        }

        public IEnumerable<Assembly> GetAssemblies()
        {
            return _assemblies;
        }
    }
}